import request from '@/utils/request'

export function getList(params) {
  return request({
    url: '/dynamic/getList',
    method: 'get',
    params
  })
}

export function deleteById(id) {
  return request({
    url: `/dynamic/deleteById/${id}`,
    method: 'delete'
  })
}

export function realDeleteById(id) {
  return request({
    url: `/dynamic/realDeleteById/${id}`,
    method: 'delete'
  })
}
